package com.godGuang.patient.feign;

import com.godGuang.common.core.domain.Result;
import com.godGuang.patient.feign.impl.PayFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.math.BigDecimal;

/**
 * @version 1.0
 * @description
 */
@FeignClient(name = "godGuang-pay",fallback = PayFeignImpl.class)
public interface PayFeign {
    /**
     * @description: 调用支付接口
     * @author: Lxk
     * @date: 2024/1/17 19:51
     * @param: [money]
     * @return: com.godGuang.common.core.domain.Result
     **/
    @GetMapping("/pay/{money}")
    public Result pay(@PathVariable("money") Integer money);
}
